export interface paginationPropType {
    currentPage: number,
    pageSize: number,
    total: number,
    handleSizeChange: Function,
    handleCurrentChange: Function
}
export interface tableCloum {
    label:string,
    prop: string,
    key:string,
    customRender:Function,
    width: number,
    actionsList:actionsListType[],
    overflow:boolean
}

interface actionsListType {
    text:string | number,
    cb:Function,
    icon:string,
    permission:string[],
    buttonType:string | number
}
interface optionsType {
    label:string | number,
    value:string | number
}

export interface searchObjectType {
    type:string,
    prop:string,
    options?:optionsType[]
}

export interface buttonObjectType {
    text:string,
    handleClick: Function,
    permission:string[]
}